package Object类.equals方法.test04;

public class Test04 {
    public static void main(String[] args) {
        User xiaoming = new User("小明",new Address("成都","十陵街道","12334"));
        User xiaohong = new User("小明",new Address("成都","十陵街道","12334"));
        System.out.println(xiaoming.equals(xiaohong));


        String a = "333";
        String b = "333";
        System.out.println(a == b);

    }
}
